Computer and Modernization ›› 2013, Vol. 1 ›› Issue (9): 58-61,6.doi: 10.3969/j.issn.1006-2475.2013.09.014

• 软件工程 • Previous Articles     Next Articles

Hierarchical Static Test Method in Code Analysis

XU Lu-lu1, ZHANG Li-ping1, GUO Yue2   

  1. 1. College of Computer and Information Engineering, Inner Mongolia Normal University, Hohhot 010022, China;2. College of Electronic Information Engineering, Inner Mongolia University, Hohhot 010021, China
  • Received:2013-05-14 Revised:1900-01-01 Online:2013-09-17 Published:2013-09-17

Abstract: To increase the accuracy and credibility of outputs for static analysis tool of speed heavy proportion, this paper proposes a hierarchical static testing method. In the first level, the static analysis tool of speed heavy proportion is selected to generate the initial outputs of detection. In the second level, the alarm messages of the initial test results are used to extract the program slices. The alarm program slices are formally abstracted into Boolean formula to determine the true-false of slices by the SAT solver. The accuracy of analysis tools is improved by integrating the results of the first level and the second level. The experimental results show that the method can improve the accuracy and credibility of analysis tools in a certainty and can also reduce the false positives effectively.

Key words: static analysis, static analysis tool of speed heavy proportion, hierarchical analysis, alarm program slice, SAT solver

CLC Number: